package myworks;

import java.io.DataInput;
import java.util.ArrayList;
import java.util.Arrays;


public class person{
	private int a=2;
	public static void main(String[] args){
		ArrayList<Integer> list =new ArrayList<>();
		list.add(6);
		list.add(12);
		list.add(6);
		System.out.println(list);
		
		System.out.println(Arrays.toString(list.toArray()));
	}
}
abstract class A extends B implements DataInput{
	
	
} 

class B{
	
}
